/*
 * @(#) ISsmDao .java  1.0  2004-4-12
 *
 * Copyright 2003 by LongTop Corporation.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * LongTop Corporation ("Confidential Information").  You
 * shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement
 * you entered into with LongTop.
 */
package com.cnc.ssm.dao;

import com.cnc.bas.dao.IDAService;
import com.cnc.ssm.model.PwCodeType;
import com.cnc.ssm.model.PwOper;

import org.springframework.dao.DataAccessException;

import java.util.List;

/**
 * User: Du bf
 * Date: 2004-10-11
 */
public interface ISsmDao extends IDAService {
    public PwOper getOperatorInfo(String userName) throws DataAccessException;

    public List listMenu(String menuCode) throws DataAccessException;

    public List listFunc(String menuCode) throws DataAccessException;

    public List listRole(String operCode) throws DataAccessException;

    public List listOper(String rolecode) throws DataAccessException;

    public List listCodeType() throws DataAccessException;

    public List listCodeInfo(String codeType) throws DataAccessException;

    public PwCodeType loadCodeType(String codeType);

    public void updateCodeType(PwCodeType vo);

    public List listEmployee(String keywords);

}
